#pragma option -W

#include <Windows.h>
#include <dos.h>
#include <extend.h>

BOOL pascal Ctl3dRegister( HANDLE hInstance );
BOOL pascal Ctl3dAutoSubClass( HANDLE hInstance );
BOOL pascal Ctl3dUnregister( HANDLE hInstance );
BOOL pascal Ctl3dSubclassCtl( HWND hCtl );

typedef ( * PTRFUNC ) ( void );

extern HINSTANCE _hInstance;

//----------------------------------------------------------------------------//

void End( void )
{
   PostQuitMessage( 0 );
}

//----------------------------------------------------------------------------//
